package com.chixing.day04.JiCheng;

/*子类 储蓄账户*/
public class SavingAccountInherit extends AccountInherit {
    public SavingAccountInherit() {
        super();
    }
 /*   public SavingAccountInherit() {
        super();
    }*/

    public void fun1() {
        //this:当前对象:类型 SavingAccountInherit
        //super父类对象 Account Object
        super.withdraw(1000); //访问父类account的方法
        super.accName = "";
        super.accNo = 4848;
        super.hashCode();  //访问父类Object的方法

    }
       /*  public SavingAccountInherit(int accNo, String accName, String accPassword, long accTelno, float accBalance, int accType){
             super(accNo,accName,accPassword,accTelno,accBalance,accType);
        }*/
}


